package com.shop.project.domain;

import java.math.BigDecimal;
import lombok.Data;
import com.shop.common.annotation.Excel;
import com.shop.common.core.domain.BaseEntity;

@Data
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long id;
    @Excel(name = "商品名称")
    private String name;
    @Excel(name = "商品主图")
    private String img;
    @Excel(name = "商品介绍")
    private String description;
    @Excel(name = "商品价格")
    private BigDecimal price;
    @Excel(name = "计件单位")
    private String unit;
    @Excel(name = "商品销量")
    private Long count;
    @Excel(name = "分类ID")
    private Long typeId;
    @Excel(name = "商家ID")
    private Long businessId;
}
